<template>
  <el-form label-width="100px">
    <el-form-item
      label="公司名称"
    ><el-input
      v-model="companyinfo.name"
      disabled
    /></el-form-item>
    <el-form-item
      label="公司地址"
    ><el-input
      v-model="companyinfo.companyAddress"
      disabled
    /></el-form-item>
    <el-form-item
      label="公司电话"
    ><el-input
      v-model="companyinfo.companyPhone"
      disabled
    /></el-form-item>
    <el-form-item
      label="邮箱"
    ><el-input
      v-model="companyinfo.mailbox"
      disabled
    /></el-form-item>
    <el-form-item
      label="备注"
    ><el-input
      v-model="companyinfo.remarks"
      disabled
    /></el-form-item>
  </el-form>
</template>

<script>
import { getCompanyInfo } from '@/api/setting.js'
export default {
  name: 'CompanyInfo',
  data() {
    return {
      companyinfo: ''
    }
  },
  async created() {
    const res = await getCompanyInfo(this.$store.state.user.userInfo.companyId)
    this.companyinfo = res.data
  }
}
</script>

<style></style>
